package com.ruoyi.contract.domain;

import com.ruoyi.contract.domain.contractVo.ContractCategoryVo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 合同所属公司对象 belonging_company
 * 
 * @author ruoyi
 * @date 2024-10-18
 */
public class BelongingCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long belongingCompanyId;

    /** 合同所属公司名称 */
    @Excel(name = "合同所属公司名称")
    private String name;

    /** 合同所属公司编码 */
    @Excel(name = "合同所属公司编码")
    private String code;

    /** 合同类别信息*/
    private List<ContractCategoryVo> contractCategoryList;

    public void setBelongingCompanyId(Long belongingCompanyId) 
    {
        this.belongingCompanyId = belongingCompanyId;
    }

    public Long getBelongingCompanyId() 
    {
        return belongingCompanyId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public List<ContractCategoryVo> getContractCategoryList() {
        return contractCategoryList;
    }

    public void setContractCategoryList(List<ContractCategoryVo> contractCategoryList) {
        this.contractCategoryList = contractCategoryList;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("belongingCompanyId", getBelongingCompanyId())
            .append("name", getName())
            .append("code", getCode())
            .append("remark", getRemark())
            .toString();
    }
}
